<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<?php include(DDROOTPATH.'/cache/title/'.$pagetag.'_title.php');?>
<LINK rel=stylesheet type=text/css href="template/<?=MOBAN?>/css/shoplist.css">
<LINK rel=stylesheet type=text/css href="template/<?=MOBAN?>/css/common.css">
<script type="text/javascript" src="template/<?=MOBAN?>/js/jquery-1.3.2.min.js"></script>
<SCRIPT type="text/javascript" src="template/<?=MOBAN?>/js/base64.js"></SCRIPT>
<SCRIPT type="text/javascript" src="template/<?=MOBAN?>/js/function.js"></SCRIPT>
<SCRIPT type="text/javascript" src="template/<?=MOBAN?>/js/taobao.js"></SCRIPT>
<script language="javascript">
$.ajaxSetup ({
    cache: false //关闭AJAX相应的缓存
});
</script>
<SCRIPT language=JavaScript>
/*定义js路径*/
var contextPath = "http://<?=URL?>/";
<!--是否开启伪静态-->
var rewrite = <?=WJT?>;
<!--是否开启图片伪本地化-->
var taopicopen = 1;
</SCRIPT>
<style type="text/css">
<!--
.STYLE1 {	color: #3366cc;
	font-weight: bold;
}
.STYLE2 {color: #3366cc}
-->
</style>
</head>

<body>
<?php
include("header.tpl.php");
?>
<?php
include("nav.tpl.php");
?>
<div id="weizhi">当前位置：<a href="index<?=$end?>">首页</a> > <a href="shoplist<?=$end?>">淘宝店铺</a> > <a href="shoplist<?=$url_head_cid?><?=$cid?><?=$url_end?>"><?=ShowShopCat($cid)?></a></div>
<div id="main">
	<div id="left">
		<div id="searchbar" style="height:40px;">
			<div id="shopsearch">
			<form action="shoplist.php" method="get">
			  <div class="searchlist"><ul><li style="width:210px; margin-top:0px; margin-left:5px;">关键字：<input type="text" class="smallinput" name="keyword" style="width:140px;" onblur="if(this.value=='')this.value='请输入掌柜名称...';" onfocus="if(this.value=='请输入掌柜名称...')this.value='';" accesskey="s" value="<?php if($keyword==""){echo "请输入掌柜名称...";}else{echo $keyword;}?>"/>
				</li><li style="width:140px;margin-top:0px;" ><select name="start_level" id="start_level" class="smallinput" style="width:60px;">
				  <option value=""<?php if($startlevel=='') echo ' selected';?>>等级</option>
				  <option value="1"<?php if($startlevel=='1') echo ' selected';?>>一心</option>
				  <option value="2"<?php if($startlevel=='2') echo ' selected';?>>两心</option>
				  <option value="3"<?php if($startlevel=='3') echo ' selected';?>>三心</option>
				  <option value="4"<?php if($startlevel=='4') echo ' selected';?>>四心</option>
				  <option value="5"<?php if($startlevel=='5') echo ' selected';?>>五心</option>
				  <option value="6"<?php if($startlevel=='6') echo ' selected';?>>一钻</option>
				  <option value="7"<?php if($startlevel=='7') echo ' selected';?>>两钻</option>
				  <option value="8"<?php if($startlevel=='8') echo ' selected';?>>三钻</option>
				  <option value="9"<?php if($startlevel=='9') echo ' selected';?>>四钻</option>
				  <option value="10"<?php if($startlevel=='10') echo ' selected';?>>五钻</option>
				  <option value="11"<?php if($startlevel=='11') echo ' selected';?>>一冠</option>
				  <option value="12"<?php if($startlevel=='12') echo ' selected';?>>两冠</option>
				  <option value="13"<?php if($startlevel=='13') echo ' selected';?>>三冠</option>
				  <option value="14"<?php if($startlevel=='14') echo ' selected';?>>四冠</option>
				  <option value="15"<?php if($startlevel=='15') echo ' selected';?>>五冠</option>
				  <option value="16"<?php if($startlevel=='16') echo ' selected';?>>一金冠</option>
				  <option value="17"<?php if($startlevel=='17') echo ' selected';?>>二金冠</option>
				  <option value="18"<?php if($startlevel=='18') echo ' selected';?>>三金冠</option>
				  <option value="19"<?php if($startlevel=='19') echo ' selected';?>>四金冠</option>
				  <option value="20"<?php if($startlevel=='20') echo ' selected';?>>五金冠</option>
				</select> - <select name="end_level" id="end_level" style="width:60px;" class="smallinput">				  
				  <option value=""<?php if($endlevel=='') echo ' selected';?>>等级</option>
				  <option value="1"<?php if($endlevel=='1') echo ' selected';?>>一心</option>
				  <option value="2"<?php if($endlevel=='2') echo ' selected';?>>两心</option>
				  <option value="3"<?php if($endlevel=='3') echo ' selected';?>>三心</option>
				  <option value="4"<?php if($endlevel=='4') echo ' selected';?>>四心</option>
				  <option value="5"<?php if($endlevel=='5') echo ' selected';?>>五心</option>
				  <option value="6"<?php if($endlevel=='6') echo ' selected';?>>一钻</option>
				  <option value="7"<?php if($endlevel=='7') echo ' selected';?>>两钻</option>
				  <option value="8"<?php if($endlevel=='8') echo ' selected';?>>三钻</option>
				  <option value="9"<?php if($endlevel=='9') echo ' selected';?>>四钻</option>
				  <option value="10"<?php if($endlevel=='10') echo ' selected';?>>五钻</option>
				  <option value="11"<?php if($endlevel=='11') echo ' selected';?>>一冠</option>
				  <option value="12"<?php if($endlevel=='12') echo ' selected';?>>两冠</option>
				  <option value="13"<?php if($endlevel=='13') echo ' selected';?>>三冠</option>
				  <option value="14"<?php if($endlevel=='14') echo ' selected';?>>四冠</option>
				  <option value="15"<?php if($endlevel=='15') echo ' selected';?>>五冠</option>
				  <option value="16"<?php if($endlevel=='16') echo ' selected';?>>一金冠</option>
				  <option value="17"<?php if($endlevel=='17') echo ' selected';?>>二金冠</option>
				  <option value="18"<?php if($endlevel=='18') echo ' selected';?>>三金冠</option>
				  <option value="19"<?php if($endlevel=='19') echo ' selected';?>>四金冠</option>
				  <option value="20"<?php if($endlevel=='20') echo ' selected';?>>五金冠</option></select></li>
				  <li style="width:85px;margin-top:0px;"><select name="px" id="px" class="smallinput">
				   <option value='' <?php if ($px == "") echo "selected"; ?>>信誉排序</option>
				   <option value='1' <?php if ($px == "1") echo "selected"; ?>>从高到低</option>
				   <option value='0' <?php if ($px == "0") echo "selected"; ?>>从低到高</option>
				  </select></li>
				  <li style="width:90px; margin-top:5px;" ><select name="area" id="area" class="smallinput">
		    <option value='' <?php if ($area == "") echo "selected"; ?>>所有地区</option>
			<option value='江苏,浙江,上海'<?php if ($area == "江苏,浙江,上海") echo " selected"; ?>>江浙沪</option>
			<option value='广州,深圳,中山,珠海,佛山,东莞,惠州'<?php if ($area == "广州,深圳,中山,珠海,佛山,东莞,惠州") echo " selected"; ?>>珠三角</option>
			<option value='香港,澳门,台湾'<?php if ($area == "香港,澳门,台湾") echo " selected"; ?>>港澳台</option>
			<option value='北京'<?php if ($area == "北京") echo " selected"; ?>>北京</option>
			<option value='上海'<?php if ($area == "上海") echo " selected"; ?>>上海</option>
			<option value='杭州'<?php if ($area == "杭州") echo " selected"; ?>>杭州</option>
			<option value='广州'<?php if ($area == "广州") echo " selected"; ?>>广州</option>
			<option value='深圳'<?php if ($area == "深圳") echo " selected"; ?>>深圳</option>
			<option value='南京'<?php if ($area == "南京") echo " selected"; ?>>南京</option>
			<option value='武汉'<?php if ($area == "武汉") echo " selected"; ?>>武汉</option>
			<option value='天津'<?php if ($area == "天津") echo " selected"; ?>>天津</option>
			<option value='成都'<?php if ($area == "成都") echo " selected"; ?>>成都</option>
			<option value='哈尔滨'<?php if ($area == "哈尔滨") echo " selected"; ?>>哈尔滨</option>
			<option value='重庆'<?php if ($area == "重庆") echo " selected"; ?>>重庆</option>
			<option value='宁波'<?php if ($area == "宁波") echo " selected"; ?>>宁波</option>
			<option value='无锡'<?php if ($area == "无锡") echo " selected"; ?>>无锡</option>
			<option value='济南'<?php if ($area == "济南") echo " selected"; ?>>济南</option>
			<option value='苏州'<?php if ($area == "苏州") echo " selected"; ?>>苏州</option>
			<option value='温州'<?php if ($area == "温州") echo " selected"; ?>>温州</option>
			<option value='青岛'<?php if ($area == "青岛") echo " selected"; ?>>青岛</option>
			<option value='沈阳'<?php if ($area == "沈阳") echo " selected"; ?>>沈阳</option>
			<option value='福州'<?php if ($area == "福州") echo " selected"; ?>>福州</option>
			<option value='西安'<?php if ($area == "西安") echo " selected"; ?>>西安</option>
			<option value='长沙'<?php if ($area == "长沙") echo " selected"; ?>>长沙</option>
			<option value='合肥'<?php if ($area == "合肥") echo " selected"; ?>>合肥</option>
			<option value='南宁'<?php if ($area == "南宁") echo " selected"; ?>>南宁</option>
			<option value='南昌'<?php if ($area == "南昌") echo " selected"; ?>>南昌</option>
			<option value='郑州'<?php if ($area == "郑州") echo " selected"; ?>>郑州</option>
			<option value='厦门'<?php if ($area == "厦门") echo " selected"; ?>>厦门</option>
			<option value='大连'<?php if ($area == "大连") echo " selected"; ?>>大连</option>
			<option value='常州'<?php if ($area == "常州") echo " selected"; ?>>常州</option>
			<option value='石家庄'<?php if ($area == "石家庄") echo " selected"; ?>>石家庄</option>
			<option value='东莞'<?php if ($area == "东莞") echo " selected"; ?>>东莞</option>
			<option value='安徽'<?php if ($area == "安徽") echo " selected"; ?>>安徽</option>
			<option value='福建'<?php if ($area == "福建") echo " selected"; ?>>福建</option>
			<option value='甘肃'<?php if ($area == "甘肃") echo " selected"; ?>>甘肃</option>
			<option value='广东'<?php if ($area == "广东") echo " selected"; ?>>广东</option>
			<option value='广西'<?php if ($area == "广西") echo " selected"; ?>>广西</option>
			<option value='贵州'<?php if ($area == "贵州") echo " selected"; ?>>贵州</option>
			<option value='海南'<?php if ($area == "海南") echo " selected"; ?>>海南</option>
			<option value='河北'<?php if ($area == "河北") echo " selected"; ?>>河北</option>
			<option value='黑龙江'<?php if ($area == "黑龙江") echo " selected"; ?>>黑龙江</option>
			<option value='河南'<?php if ($area == "河南") echo " selected"; ?>>河南</option>
			<option value='湖北'<?php if ($area == "湖北") echo " selected"; ?>>湖北</option>
			<option value='湖南'<?php if ($area == "湖南") echo " selected"; ?>>湖南</option>
			<option value='江苏'<?php if ($area == "江苏") echo " selected"; ?>>江苏</option>
			<option value='江西'<?php if ($area == "江西") echo " selected"; ?>>江西</option>
			<option value='吉林'<?php if ($area == "吉林") echo " selected"; ?>>吉林</option>
			<option value='辽宁'<?php if ($area == "辽宁") echo " selected"; ?>>辽宁</option>
			<option value='内蒙古'<?php if ($area == "内蒙古") echo " selected"; ?>>内蒙古</option>
			<option value='宁夏'<?php if ($area == "宁夏") echo " selected"; ?>>宁夏</option>
			<option value='青海'<?php if ($area == "青海") echo " selected"; ?>>青海</option>
			<option value='山东'<?php if ($area == "山东") echo " selected"; ?>>山东</option>
			<option value='山西'<?php if ($area == "山西") echo " selected"; ?>>山西</option>
			<option value='陕西'<?php if ($area == "陕西") echo " selected"; ?>>陕西</option>
			<option value='四川'<?php if ($area == "四川") echo " selected"; ?>>四川</option>
			<option value='新疆'<?php if ($area == "新疆") echo " selected"; ?>>新疆</option>
			<option value='西藏'<?php if ($area == "西藏") echo " selected"; ?>>西藏</option>
			<option value='云南'<?php if ($area == "云南") echo " selected"; ?>>云南</option>
			<option value='浙江'<?php if ($area == "浙江") echo " selected"; ?>>浙江</option>
			<option value='美国,英国,法国,瑞士,澳洲,新西兰,加拿大,奥地利,韩国,日本,德国,意大利,西班牙,俄罗斯,泰国,印度,荷兰,新加坡,其它国家'<?php if ($area == "美国,英国,法国,瑞士,澳洲,新西兰,加拿大,奥地利,韩国,日本,德国,意大利,西班牙,俄罗斯,泰国,印度,荷兰,新加坡,其它国家") echo " selected"; ?>>海外</option>
			<option value='other'<?php if ($area == "other") echo " selected"; ?>>其它</option>
				  </select></li><li style="width:0px; margin-top:0px; display:none"><input name="cpr" type="checkbox" value="1" <?php if($cpr=='1') echo 'checked';?> /> 
				  消保卖家</li><li style="width:85px; margin-top:0px;"><input name="type" type="checkbox" value="1" <?php if($type=='1') echo 'checked';?> /> 
				  商城卖家</li><li style="margin-top:2px;"><input type="submit" name="Submit" value="开始查找" class="smtgray" /><input name="cid" type="hidden" value="<?=$cid?>" /></li>
				</ul>
			  </div>
			</form>
			</div>
		</div>
		<div id="listbox">
        <?php if(!empty($shop)){?>
			<ul>
			<?php foreach($shop as $row){?>
				<li>
					<div class="pic"><A href="<?=$row['gourl']?>" target="_blank"><?=html_img($row['pic'],$row["title"],'',80,80,$row['onerror'])?></a></div>
					<div class="shopdetail">
						<div class="title"><A href="<?=$row['gourl']?>" target="_blank"><?=$row["title"]?></a></div>
						<div class="zhanggui"><div style="width:300px; float:left;">掌柜：<A href="<?=$row['gourl']?>" target="_blank"><?=$row["nick"]?></A></div><div style="width:200px; float:left;"><?=wangwang($row["nick"])?></div></div><div style="width:120px; float:left;text-align:left">
                        <?php if($butie==0){?>
                        平均返利<font class="fanxianlv" style="font-family:Geneva, Arial, Helvetica, sans-serif; font-weight:bold; color:#FF0000;font-size:14px; font-style:italic;"><b><?=$row["fanxianlv"]?></b>%</font>
                        <?php }else{?>
                        预计最高补贴<font class="fanxianlv" style="font-family:Geneva, Arial, Helvetica, sans-serif; font-weight:bold; color:#FF0000;font-size:14px; font-style:italic;"><b><?=$row["fanxianlv"]?></b>%</font>
                        <?php }?>
                        </div>
						<div class="level"><div style="width:150px; float:left;">信用：<?php if($row["type"]=="B"){echo "<img src=\"template/".MOBAN."/images/shangcheng.png\" alt=\"商城卖家\"  align=\"middle\">"; }else {echo " <img src=\"images/level_".$row["level"].".gif\" align=\"absmiddle\" />";} ?></div><div style="width:150px; float:left;"><?php if($row["consumer_protection"]=="true"){echo "<img src=\"template/".MOBAN."/images/xiaobao.gif\" alt=\"已加入消费者保障服务\">";}?> </div><div style="width:220px; float:left;">好评率：<font color="#CC3300"><?=round($row["good"],2)?>%</font></div><div style="width:120px; float:left; text-align:left">地址：<?php echo $row["state"] ?> <?php echo $row["city"] ?></div></div>
						
					</div>
				</li>
			<?php }?>
			</ul>
          <?php }else{?>
          <?php include('template/'.MOBAN.'/tuijian.tpl.php');?>
          <?php }?>
		</div>
		<div class="clear"></div>
		<div class="megas512" style="text-align:left; margin:15px 0"><?php 
				pageft($total,$pagesize,1,0,0,10,$page_shoplist);
				echo $pagenav;?>
		</div>
	</div>
	<div id="right">
	<div class="hot_head"><span>店铺分类</span></div>
		<div class="list_hot">
      	<div class="hot_goods">
		<ul>
			<li><a href="shoplist<?=$url_head_cid?>11<?=$url_end?>">电脑硬件/台式机/网络设备</a></li>
			<li><a href="shoplist<?=$url_head_cid?>12<?=$url_end?>">MP3/MP4/iPod/录音笔</a></li>
			<li><a href="shoplist<?=$url_head_cid?>13<?=$url_end?>">手机</a></li>
			<li><a href="shoplist<?=$url_head_cid?>14<?=$url_end?>">女装/流行女装</a></li>
			<li><a href="shoplist<?=$url_head_cid?>15<?=$url_end?>">彩妆/香水/护肤/美体</a></li>
			<li><a href="shoplist<?=$url_head_cid?>16<?=$url_end?>">电玩/配件/游戏/攻略</a></li>
			<li><a href="shoplist<?=$url_head_cid?>17<?=$url_end?>">数码相机/摄像机/图形冲印</a></li>
			<li><a href="shoplist<?=$url_head_cid?>18<?=$url_end?>">运动/瑜伽/健身/球迷用品</a></li>
			<li><a href="shoplist<?=$url_head_cid?>20<?=$url_end?>">古董/邮币/字画/收藏</a></li>
			<li><a href="shoplist<?=$url_head_cid?>21<?=$url_end?>">办公设备/文具/耗材</a></li>
			<li><a href="shoplist<?=$url_head_cid?>22<?=$url_end?>">汽车/配件/改装/摩托/自行车</a></li>
			<li><a href="shoplist<?=$url_head_cid?>23<?=$url_end?>">珠宝/钻石/翡翠/黄金</a></li>
			<li><a href="shoplist<?=$url_head_cid?>24<?=$url_end?>">居家日用/厨房餐饮/卫浴洗浴</a></li>
			<li><a href="shoplist<?=$url_head_cid?>26<?=$url_end?>">装潢/灯具/五金/安防/卫浴</a></li>
			<li><a href="shoplist<?=$url_head_cid?>29<?=$url_end?>">食品/茶叶/零食/特产</a></li>
			<li><a href="shoplist<?=$url_head_cid?>30<?=$url_end?>">玩具/动漫/模型/卡通</a></li>
			<li><a href="shoplist<?=$url_head_cid?>31<?=$url_end?>">箱包皮具/热销女包/男包</a></li>
			<li><a href="shoplist<?=$url_head_cid?>32<?=$url_end?>">宠物/宠物食品及用品</a></li>
			<li><a href="shoplist<?=$url_head_cid?>33<?=$url_end?>">音乐/影视/明星/乐器</a></li>
			<li><a href="shoplist<?=$url_head_cid?>34<?=$url_end?>">书籍/杂志/报纸</a></li>
			<li><a href="shoplist<?=$url_head_cid?>35<?=$url_end?>">网络游戏点卡</a></li>
			<li><a href="shoplist<?=$url_head_cid?>36<?=$url_end?>">网络游戏装备/游戏币/帐号/代练</a></li>
			<li><a href="shoplist<?=$url_head_cid?>37<?=$url_end?>">男装</a></li>
			<li><a href="shoplist<?=$url_head_cid?>1020<?=$url_end?>">母婴用品/奶粉/孕妇装</a></li>
			<li><a href="shoplist<?=$url_head_cid?>1040<?=$url_end?>">ZIPPO/饰品/眼镜</a></li>
			<li><a href="shoplist<?=$url_head_cid?>1041<?=$url_end?>">移动联通充值中心/IP长途</a></li>
			<li><a href="shoplist<?=$url_head_cid?>1042<?=$url_end?>">网店装修/物流快递/图片存储</a></li>
			<li><a href="shoplist<?=$url_head_cid?>1043<?=$url_end?>">笔记本电脑</a></li>
			<li><a href="shoplist<?=$url_head_cid?>1044<?=$url_end?>">品牌手表/流行手表</a></li>
			<li><a href="shoplist<?=$url_head_cid?>1046<?=$url_end?>">家用电器/hifi音响/耳机</a></li>
			<li><a href="shoplist<?=$url_head_cid?>1047<?=$url_end?>">鲜花速递/蛋糕配送/园艺花艺</a></li>
			<li><a href="shoplist<?=$url_head_cid?>1048<?=$url_end?>">3C数码配件市场</a></li>
			<li><a href="shoplist<?=$url_head_cid?>1049<?=$url_end?>">床上用品/靠垫/窗帘/布艺</a></li>
			<li><a href="shoplist<?=$url_head_cid?>1050<?=$url_end?>">家具/家具定制/宜家代购</a></li>
			<li><a href="shoplist<?=$url_head_cid?>1051<?=$url_end?>">保健品/滋补品</a></li>
			<li><a href="shoplist<?=$url_head_cid?>1052<?=$url_end?>">网络服务/电脑软件</a></li>
			<li><a href="shoplist<?=$url_head_cid?>1053<?=$url_end?>">演出/旅游/吃喝玩乐折扣券</a></li>
			<li><a href="shoplist<?=$url_head_cid?>1054<?=$url_end?>">饰品/流行首饰/时尚饰品</a></li>
			<li><a href="shoplist<?=$url_head_cid?>1055<?=$url_end?>">女士内衣/男士内衣/家居服</a></li>
			<li><a href="shoplist<?=$url_head_cid?>1056<?=$url_end?>">女鞋</a></li>
			<li><a href="shoplist<?=$url_head_cid?>1062<?=$url_end?>">童装/婴儿服/鞋帽</a></li>
			<li><a href="shoplist<?=$url_head_cid?>1082<?=$url_end?>">流行男鞋/皮鞋</a></li>
			<li><a href="shoplist<?=$url_head_cid?>1102<?=$url_end?>">腾讯QQ专区</a></li>
			<li><a href="shoplist<?=$url_head_cid?>1103<?=$url_end?>">IP卡/网络电话/在线影音充值</a></li>
			<li><a href="shoplist<?=$url_head_cid?>1104<?=$url_end?>">个人护理/保健/按摩器材</a></li>
			<li><a href="shoplist<?=$url_head_cid?>1105<?=$url_end?>">闪存卡/U盘/移动存储</a></li>
			<li><a href="shoplist<?=$url_head_cid?>1106<?=$url_end?>">运动鞋</a></li>
			<li><a href="shoplist<?=$url_head_cid?>1122<?=$url_end?>">时尚家饰/工艺品/十字绣</a></li>
			<li><a href="shoplist<?=$url_head_cid?>1153<?=$url_end?>">运动服</a></li>
			<li><a href="shoplist<?=$url_head_cid?>1154<?=$url_end?>">服饰配件/皮带/帽子/围巾</a></li>
			</ul>
		  </div>
      </div>
	  <div id="ad6">
		<?php
		AD(6);
		?>
		</div>
	</div>
</div><?php include 'footer.tpl.php';?>
</body>
</html>